﻿<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="REGION_PROGRAM_CHANNEL_SALES" targetNamespace="http://tempuri.org/REGION_PROGRAM_CHANNEL_SALES.xsd" xmlns:mstns="http://tempuri.org/REGION_PROGRAM_CHANNEL_SALES.xsd" xmlns="http://tempuri.org/REGION_PROGRAM_CHANNEL_SALES.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:msprop="urn:schemas-microsoft-com:xml-msprop" attributeFormDefault="qualified" elementFormDefault="qualified">
  <xs:annotation>
    <xs:appinfo source="urn:schemas-microsoft-com:xml-msdatasource">
      <DataSource DefaultConnectionIndex="1" FunctionsComponentName="QueriesTableAdapter" Modifier="AutoLayout, AnsiClass, Class, Public" SchemaSerializationMode="IncludeSchema" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
        <Connections>
          <Connection AppSettingsObjectName="Web.config" AppSettingsPropertyName="ACC_NEW" IsAppSettingsProperty="true" Modifier="Assembly" Name="ACC_NEW (Web.config)" ParameterPrefix="@" PropertyReference="AppConfig.System.Configuration.ConfigurationManager.0.ConnectionStrings.ACC_NEW.ConnectionString" Provider="System.Data.SqlClient" />
          <Connection AppSettingsObjectName="Web.config" AppSettingsPropertyName="ACC_NEW2ConnectionString" ConnectionStringObject="" IsAppSettingsProperty="true" Modifier="Assembly" Name="ACC_NEW2ConnectionString (Web.config)" ParameterPrefix="@" PropertyReference="AppConfig.System.Configuration.ConfigurationManager.0.ConnectionStrings.ACC_NEW2ConnectionString.ConnectionString" Provider="System.Data.SqlClient" />
        </Connections>
        <Tables>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="PROGRAM_CHANNEL_SALES_MTDTableAdapter" GeneratorDataComponentClassName="PROGRAM_CHANNEL_SALES_MTDTableAdapter" Name="PROGRAM_CHANNEL_SALES_MTD" UserDataComponentName="PROGRAM_CHANNEL_SALES_MTDTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="ACC_NEW (Web.config)" DbObjectName="dbo.PROGRAM_CHANNEL_SALES_MTD" DbObjectType="View" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="false" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="false" UserGetMethodName="GetData" UserSourceName="Fill">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT REGION, PROGRAM, PRODUCT, SALES_CHANNEL_CD, [IN], OUT, NET, FEATURE FROM dbo.PROGRAM_CHANNEL_SALES_MTD</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="REGION" DataSetColumn="REGION" />
              <Mapping SourceColumn="PROGRAM" DataSetColumn="PROGRAM" />
              <Mapping SourceColumn="PRODUCT" DataSetColumn="PRODUCT" />
              <Mapping SourceColumn="SALES_CHANNEL_CD" DataSetColumn="SALES_CHANNEL_CD" />
              <Mapping SourceColumn="IN" DataSetColumn="IN" />
              <Mapping SourceColumn="OUT" DataSetColumn="OUT" />
              <Mapping SourceColumn="NET" DataSetColumn="NET" />
              <Mapping SourceColumn="FEATURE" DataSetColumn="FEATURE" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="SOByChannelRptTableAdapter" GeneratorDataComponentClassName="SOByChannelRptTableAdapter" Name="SOByChannelRpt" UserDataComponentName="SOByChannelRptTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="ACC_NEW2ConnectionString (Web.config)" DbObjectName="[C:\DOCUMENTS AND SETTINGS\ACC2_4\APP_DATA\ACC_NEW2.MDF].dbo.SOByChannelRpt" DbObjectType="StoredProcedure" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="false" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="false" UserGetMethodName="GetData" UserSourceName="Fill">
                <SelectCommand>
                  <DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
                    <CommandText>dbo.SOByChannelRpt</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="varchar" DbType="AnsiString" Direction="Input" ParameterName="@REGION" Precision="0" ProviderType="VarChar" Scale="0" Size="32" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="varchar" DbType="AnsiString" Direction="Input" ParameterName="@ACCT_MGR" Precision="0" ProviderType="VarChar" Scale="0" Size="64" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="varchar" DbType="AnsiString" Direction="Input" ParameterName="@NATIONAL" Precision="0" ProviderType="VarChar" Scale="0" Size="16" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="varchar" DbType="AnsiString" Direction="Input" ParameterName="@DWELLING" Precision="0" ProviderType="VarChar" Scale="0" Size="8" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="varchar" DbType="AnsiString" Direction="Input" ParameterName="@PRODUCT" Precision="0" ProviderType="VarChar" Scale="0" Size="8" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="bit" DbType="Boolean" Direction="Input" ParameterName="@BY_ACCT_MGR" Precision="1" ProviderType="Bit" Scale="0" Size="1" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="REGION" DataSetColumn="REGION" />
              <Mapping SourceColumn="MARKET" DataSetColumn="MARKET" />
              <Mapping SourceColumn="ACCT_MGR" DataSetColumn="ACCT_MGR" />
              <Mapping SourceColumn="NATIONAL" DataSetColumn="NATIONAL" />
              <Mapping SourceColumn="PROGRAM" DataSetColumn="PROGRAM" />
              <Mapping SourceColumn="PRODUCT" DataSetColumn="PRODUCT" />
              <Mapping SourceColumn="FEATURE" DataSetColumn="FEATURE" />
              <Mapping SourceColumn="SALES_CHANNEL_CD" DataSetColumn="SALES_CHANNEL_CD" />
              <Mapping SourceColumn="IN" DataSetColumn="IN" />
              <Mapping SourceColumn="OUT" DataSetColumn="OUT" />
              <Mapping SourceColumn="NET" DataSetColumn="NET" />
            </Mappings>
            <Sources />
          </TableAdapter>
        </Tables>
        <Sources />
      </DataSource>
    </xs:appinfo>
  </xs:annotation>
  <xs:element name="REGION_PROGRAM_CHANNEL_SALES" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="False" msprop:Generator_DataSetName="REGION_PROGRAM_CHANNEL_SALES" msprop:Generator_UserDSName="REGION_PROGRAM_CHANNEL_SALES">
    <xs:complexType>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:element name="PROGRAM_CHANNEL_SALES_MTD" msprop:Generator_TableClassName="PROGRAM_CHANNEL_SALES_MTDDataTable" msprop:Generator_TableVarName="tablePROGRAM_CHANNEL_SALES_MTD" msprop:Generator_TablePropName="PROGRAM_CHANNEL_SALES_MTD" msprop:Generator_RowDeletingName="PROGRAM_CHANNEL_SALES_MTDRowDeleting" msprop:Generator_UserTableName="PROGRAM_CHANNEL_SALES_MTD" msprop:Generator_RowChangingName="PROGRAM_CHANNEL_SALES_MTDRowChanging" msprop:Generator_RowEvHandlerName="PROGRAM_CHANNEL_SALES_MTDRowChangeEventHandler" msprop:Generator_RowDeletedName="PROGRAM_CHANNEL_SALES_MTDRowDeleted" msprop:Generator_RowEvArgName="PROGRAM_CHANNEL_SALES_MTDRowChangeEvent" msprop:Generator_RowChangedName="PROGRAM_CHANNEL_SALES_MTDRowChanged" msprop:Generator_RowClassName="PROGRAM_CHANNEL_SALES_MTDRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="REGION" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnREGION" msprop:Generator_ColumnPropNameInRow="REGION" msprop:Generator_ColumnPropNameInTable="REGIONColumn" msprop:Generator_UserColumnName="REGION" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="100" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="PROGRAM" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnPROGRAM" msprop:Generator_ColumnPropNameInRow="PROGRAM" msprop:Generator_ColumnPropNameInTable="PROGRAMColumn" msprop:Generator_UserColumnName="PROGRAM" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="3" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="PRODUCT" msprop:Generator_ColumnVarNameInTable="columnPRODUCT" msprop:Generator_ColumnPropNameInRow="PRODUCT" msprop:Generator_ColumnPropNameInTable="PRODUCTColumn" msprop:Generator_UserColumnName="PRODUCT" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="10" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="SALES_CHANNEL_CD" msprop:Generator_ColumnVarNameInTable="columnSALES_CHANNEL_CD" msprop:Generator_ColumnPropNameInRow="SALES_CHANNEL_CD" msprop:Generator_ColumnPropNameInTable="SALES_CHANNEL_CDColumn" msprop:Generator_UserColumnName="SALES_CHANNEL_CD" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="32" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="IN" msprop:Generator_ColumnVarNameInTable="columnIN" msprop:Generator_ColumnPropNameInRow="IN" msprop:Generator_ColumnPropNameInTable="INColumn" msprop:Generator_UserColumnName="IN" type="xs:int" minOccurs="0" />
              <xs:element name="OUT" msprop:Generator_ColumnVarNameInTable="columnOUT" msprop:Generator_ColumnPropNameInRow="OUT" msprop:Generator_ColumnPropNameInTable="OUTColumn" msprop:Generator_UserColumnName="OUT" type="xs:int" minOccurs="0" />
              <xs:element name="NET" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnNET" msprop:Generator_ColumnPropNameInRow="NET" msprop:Generator_ColumnPropNameInTable="NETColumn" msprop:Generator_UserColumnName="NET" type="xs:int" minOccurs="0" />
              <xs:element name="FEATURE" msprop:Generator_ColumnVarNameInTable="columnFEATURE" msprop:Generator_ColumnPropNameInRow="FEATURE" msprop:Generator_ColumnPropNameInTable="FEATUREColumn" msprop:Generator_UserColumnName="FEATURE" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="32" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="SOByChannelRpt" msprop:Generator_TableClassName="SOByChannelRptDataTable" msprop:Generator_TableVarName="tableSOByChannelRpt" msprop:Generator_TablePropName="SOByChannelRpt" msprop:Generator_RowDeletingName="SOByChannelRptRowDeleting" msprop:Generator_UserTableName="SOByChannelRpt" msprop:Generator_RowChangingName="SOByChannelRptRowChanging" msprop:Generator_RowEvHandlerName="SOByChannelRptRowChangeEventHandler" msprop:Generator_RowDeletedName="SOByChannelRptRowDeleted" msprop:Generator_RowEvArgName="SOByChannelRptRowChangeEvent" msprop:Generator_RowChangedName="SOByChannelRptRowChanged" msprop:Generator_RowClassName="SOByChannelRptRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="REGION" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnREGION" msprop:Generator_ColumnPropNameInRow="REGION" msprop:Generator_ColumnPropNameInTable="REGIONColumn" msprop:Generator_UserColumnName="REGION" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="100" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="MARKET" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnMARKET" msprop:Generator_ColumnPropNameInRow="MARKET" msprop:Generator_ColumnPropNameInTable="MARKETColumn" msprop:Generator_UserColumnName="MARKET" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="32" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="ACCT_MGR" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnACCT_MGR" msprop:Generator_ColumnPropNameInRow="ACCT_MGR" msprop:Generator_ColumnPropNameInTable="ACCT_MGRColumn" msprop:Generator_UserColumnName="ACCT_MGR" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="100" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="NATIONAL" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnNATIONAL" msprop:Generator_ColumnPropNameInRow="NATIONAL" msprop:Generator_ColumnPropNameInTable="NATIONALColumn" msprop:Generator_UserColumnName="NATIONAL" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="8" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="PROGRAM" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnPROGRAM" msprop:Generator_ColumnPropNameInRow="PROGRAM" msprop:Generator_ColumnPropNameInTable="PROGRAMColumn" msprop:Generator_UserColumnName="PROGRAM" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="3" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="PRODUCT" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnPRODUCT" msprop:Generator_ColumnPropNameInRow="PRODUCT" msprop:Generator_ColumnPropNameInTable="PRODUCTColumn" msprop:Generator_UserColumnName="PRODUCT" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="10" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="FEATURE" msprop:Generator_ColumnVarNameInTable="columnFEATURE" msprop:Generator_ColumnPropNameInRow="FEATURE" msprop:Generator_ColumnPropNameInTable="FEATUREColumn" msprop:Generator_UserColumnName="FEATURE" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="32" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="SALES_CHANNEL_CD" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnSALES_CHANNEL_CD" msprop:Generator_ColumnPropNameInRow="SALES_CHANNEL_CD" msprop:Generator_ColumnPropNameInTable="SALES_CHANNEL_CDColumn" msprop:Generator_UserColumnName="SALES_CHANNEL_CD" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="32" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="IN" msprop:Generator_ColumnVarNameInTable="columnIN" msprop:Generator_ColumnPropNameInRow="IN" msprop:Generator_ColumnPropNameInTable="INColumn" msprop:Generator_UserColumnName="IN" type="xs:int" minOccurs="0" />
              <xs:element name="OUT" msprop:Generator_ColumnVarNameInTable="columnOUT" msprop:Generator_ColumnPropNameInRow="OUT" msprop:Generator_ColumnPropNameInTable="OUTColumn" msprop:Generator_UserColumnName="OUT" type="xs:int" minOccurs="0" />
              <xs:element name="NET" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnNET" msprop:Generator_ColumnPropNameInRow="NET" msprop:Generator_ColumnPropNameInTable="NETColumn" msprop:Generator_UserColumnName="NET" type="xs:int" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
      </xs:choice>
    </xs:complexType>
  </xs:element>
</xs:schema>